<template>
	<view class="main-page" style="background: white;">
		<view class="header-box">
			<text class="head-nickname">昵称</text>
			<view class="row-container-row-between" style="width: 50%;">
				<text class="font-999-26">邀请日期</text>
				<text class="font-999-26" style="margin-right: 30rpx;">拉新奖励</text>
			</view>
		</view>
		
		<view class="friends-item" v-for="(item , index) in dataList" :key="index">
			<view class="row-container" style="width: 50%;">
				<image class="item-avatar" src="../../static/mine/ic_default_avatar.png"></image>
				<text class="font-333-28 font-bold">酒醉的大乔</text>
			</view>
			<view class="row-container-row-between" style="width: 50%;">
				<text class="font-333-28">2024-01-04</text>
				<text class="font-ff621f-28 font-bold" style="margin-right: 30rpx;">+0.50元</text>
			</view>
			<view class="item-divider"></view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList:[1,2,3,4,5]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.header-box{
		display: flex;
		flex-direction: row;
		align-items: center;
		width: 100%;
		height: 74rpx;
		background: #F5F5F5;
		
		.head-nickname{
			width: 50%;
			color: #999999;
			font-size: 26rpx;
			padding-left: 30rpx;
		}
	}
	
	.friends-item{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		height: 108rpx;
		position: relative;
		
		.item-divider{
			width: calc(100% - 60rpx);
			height: 1rpx;
			background: #F5F5F5;
			position: absolute;
			bottom: 0;
			left: 30rpx;
		}
		
		.item-avatar{
			width: 60rpx;
			height: 60rpx;
			margin-left: 30rpx;
			margin-right: 18rpx;
			border-radius: 30rpx;
		}
	}
	
</style>
